home *** CD-ROM | disk | FTP | other *** search
-
- RayLab 1.0 for Amiga
-
- (c)1995-1996 by Marcus Geelnard
-
-
- Contents:
- ---------
-
- The Amiga distribution of RayLab contains the following:
-
- · Two executables: raylab881 - for Amigas with an FPU (and a 68020+)
- raylabieee - for any Amiga (68000+ without an FPU)
-
- · The documentation for RayLab.
-
- · Sample RayLab scenes.
-
- · The sourcode for RayLab, including the Amiga specific code, a makefile for
- SAS/C 6.x and the generic code/makefile for any platform.
-
-
- Installation:
- -------------
-
- You may already have installed RayLab, if you are reading this. Otherwise,
- this is what you need to do: Extract all files from the RayLab lha-archive
- to a proper place on your harddisk (e.g. Work:Graphics/RayTracing/). If you
- have extracted the files to a temporary directory (e.g. RAM:), simply drag-
- and-drop the RayLab drawer icon to where you want it on your harddisk.
-
- Also, it would be wise to create some new directories for your own use,
- especially one for your own scenes and one for pictures. For example:
-
- ..../RayLab/My_Scenes/
- ..../RayLab/My_Pics/
-
- This way it will be easier to keep track of your RayLab files.
-
- Before you use RayLab, please finish reading this doc. Then proceed to reading
- 'raylab.doc' (you may want to have it on paper, as it contains much reference
- material about the usage of RayLab). Anyway, although there are icons for the
- RayLab executables, you will have to use RayLab from shell. RayLab was intened
- to be as portable as possible, and I mostly run it on a unix system (which is
- about 6000% faster than my A3000-28MHz) so I have not bothered to make any GUI,
- sorry.
-
-
- Amiga specific:
- ---------------
-
- The Amiga version of RayLab can display a picture as it is being rendered. To
- make it do so, add the following to a globals section in your scene description
- (read 'raylab.doc' for more information):
-
- display x
-
- ...where x is the display-mode. These are the currently supported display-modes
- for the Amiga:
-
- 0 - No display (default)
- 1 - HAM6, lowres, non-interlaced (dithered)
- 2 - Grayscale, hires, interlaced (dithered)
-
- With the display turned on, the rendering will be slightly slower, but probably
- not enough for you to notice (a 320x240 HAM6 screen takes 20 seconds on an Amiga
- 3000, as compared to some potential 10-60 minutes of computing).
-
- When the rendering is done, you are able to select 'Close' from a menu on the
- screen (by pressing the right mouse-button). This will close the display and
- exit RayLab. The menu will not appear until the picture is completed. If you
- did not open a display (or if RayLab was unable to open one), RayLab will just
- exit when it is done rendering.
-
- If you want to terminate RayLab during rendering, activate the shell-window
- from which you started RayLab, and press CTRL-C. RayLab will then cleanup and
- exit gracfully, but your picture will only be 'half-done'. This means a corrupt
- picture file, and you have to start all over if you want to render it again.
-
- Often you may just want a preview of a scene. The simplest way should be to
- tell RayLab to display while rendering, and selecting NIL: as the output file.
-
- I would like to add support for HAM8, but I only have ECS in my A3000, so I do
- not have any great experience in AGA screens (nor any possibility to test it).
- If anyone feels like helping out, you are very welcome to do so!
-
-
- Compiling on your own:
- ----------------------
-
- If you would like to compile RayLab for the Amiga on your own, simply copy the
- Amiga specific code and the makefile from the source/platform/amiga directory
- to the source directory. If you use SAS/C 6.x, you just have to type smake when
- you stand in the source directory to compile RayLab for 68020/68881 Amigas.
- Please refer to the smakefile for more information about compiling RayLab for
- different machines. If you do not have SAS/C, or if you prefer to use another
- compiler, such as Gnu C, you will have to modify the makefile for your compiler.
- You may also be helped by the generic makefile for gcc/cc and/or the generic
- code (generic.c) found in source/platform/generic. Now you are on your own!
-
- Please note that you may not spread a new compilation of RayLab without my
- permission! This is to avoid missunderstandings about who is responsible for
- supporting the users of your compilation. Read 'raylab.doc' for further info
- about legal issues...
-
-